﻿
/**
 * AUTO GENERATE BY UI EDITOR.
 * WARNING: DO NOT MODIFY THIS FILE,MAY CAUSE CODE LOST.
 * ATTENTION: onStart 等UI脚本自带函数不可改写为异步执行，有需求的异步逻辑请使用函数封装，通过函数接口在内部使用
 * UI: UI/orderControlerUI.ui
*/



@UIBind('UI/orderControlerUI.ui')
export default class orderControlerUI_Generate extends UIScript {
		private imageCanvas_Internal: mw.Canvas
	public get imageCanvas(): mw.Canvas {
		if(!this.imageCanvas_Internal&&this.uiWidgetBase) {
			this.imageCanvas_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/Canvas/imageCanvas') as mw.Canvas
		}
		return this.imageCanvas_Internal
	}
	private firstImage_Internal: mw.Image
	public get firstImage(): mw.Image {
		if(!this.firstImage_Internal&&this.uiWidgetBase) {
			this.firstImage_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/Canvas/imageCanvas/firstImage') as mw.Image
		}
		return this.firstImage_Internal
	}
	private secondImage_Internal: mw.Image
	public get secondImage(): mw.Image {
		if(!this.secondImage_Internal&&this.uiWidgetBase) {
			this.secondImage_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/Canvas/imageCanvas/secondImage') as mw.Image
		}
		return this.secondImage_Internal
	}


 
	/**
	* onStart 之前触发一次
	*/
	protected onAwake() {
	}
	 
}
 